package cn.edu.scau.cmi.linhongxin.adapter;

import java.util.List;
@SuppressWarnings("rawtypes") 
public class SortUtil {
	public List sortInt(List<Integer> IntList) {
		int length=IntList.size();
		for(int i=0;i<length;i++) {
			for(int j=i+1;j<length;j++) {
				if(IntList.get(i)>IntList.get(j)) {
					int t=IntList.get(j);
					IntList.set(j, IntList.get(i));
					IntList.set(i, t);
				}
			}
		}
		return IntList;
	}	
}
